package com.probox.common.entity.domain.platfom;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.probox.common.core.annotation.Excel;

/**
 * 平台模板中间对象 platform_info_template
 *
 *
 * @date 2021-06-16
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("platform_info_template")
public class PlatformInfoTemplate implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    //默认主键自增
    @TableId(value = "PLATFORM_TEMPLATE_UID", type = IdType.AUTO)
    private Long platformTemplateUid;
    /**
     * 模板UID
     */
    @Excel(name = "模板UID")
    private Long templateUid;
    /**
     * 平台UID
     */
    @Excel(name = "平台UID")
    private Long platformUid;
    /**
     * (1有效/0无效、-1删除)
     */
    @Excel(name = "(1有效/0无效、-1删除)")
    private String dataStatus;
    /**
     * 创建人ID
     */
    @Excel(name = "创建人ID")
    private Long createUid;
    /**
     * 创建人名称
     */
    @Excel(name = "创建人名称")
    private String createName;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 更新人ID
     */
    @Excel(name = "更新人ID")
    private Long updateUid;
    /**
     * 更新人名称
     */
    @Excel(name = "更新人名称")
    private String updateName;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
